using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using DesigningViews.Models;

namespace DesigningViews.Controllers
{
    public class PersonController : Controller
    {
        //
        // GET: /Person/

        public ActionResult Index()
        {
        	var person = new Person
        		{
                    Name = "Bob",
        			HomeAddress = new Address {Line1 = "123 abd", City = "Austin", State = "TX", ZipCode = "23434"}
        		};

            return View(person);
        }

    }
}
